const actions = { // 通过 $store.dispatch 触发该对象函数
  syncAdd({ commit }, payload) {
    setTimeout(() => {
      console.log('actions syncAdd setTimeout')
      commit('syncAdd', payload);
    }, 3000);
  },
  asyncMinus({ commit }, payload) {
    setTimeout(() => {
      console.log('actions asyncMinus setTimeout')
      commit('asyncMinus', payload);
    }, 3000);
  }
}


export default actions;